#ifndef REGISTERWINDOW_H
#define REGISTERWINDOW_H
#include <QDialog>
#include <QLineEdit>
#include <QPushButton>
#include <QLabel>
#include <QVBoxLayout>
#include <QMessageBox>
#include <QSettings>

class RegisterWindow : public QDialog{
    Q_OBJECT

public:
    explicit RegisterWindow(QWidget *parent=nullptr);
    ~RegisterWindow();

private:
    QLineEdit *lineEditUsername;
    QLineEdit *lineEditPassword;
    QLineEdit *lineEditConfirmPassword;
    QPushButton *buttonRegister;
    QLabel *labelTitle;
    QLabel *strengthLabel;

    void setupUI();
    bool validateInput();

private slots:
    void handleRegister();
};

#endif // REGISTERWINDOW_H
